package com.gpt.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回答列表对象 a_content
 * 
 * @author zhuzi
 * @date 2024-02-25
 */
public class AContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** fileId */
    private Long fileId;

    /** 提问id */
    private Long qContentId;

    /** 回答内容 */
    @Excel(name = "回答内容")
    private String aContent;

    /** 生成状态（0未生成 1生成中 2生成完成 3生成失败） */
    @Excel(name = "生成状态", readConverterExp = "0=未生成,1=生成中,2=生成完成,3=生成失败")
    private String status;

    /** 内容类型（0回答 1追问） */
    private String qpType;

    /** 模型code */
    private String modelCode;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelName;

    /** 花费token */
    @Excel(name = "花费token")
    private Integer useToken;

    /** 排序 */
    private Integer orderNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setqContentId(Long qContentId) 
    {
        this.qContentId = qContentId;
    }

    public Long getqContentId() 
    {
        return qContentId;
    }
    public void setaContent(String aContent) 
    {
        this.aContent = aContent;
    }

    public String getaContent() 
    {
        return aContent;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setModelCode(String modelCode) 
    {
        this.modelCode = modelCode;
    }

    public String getModelCode() 
    {
        return modelCode;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setUseToken(Integer useToken) 
    {
        this.useToken = useToken;
    }

    public Integer getUseToken() 
    {
        return useToken;
    }
    public void setOrderNo(Integer orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Integer getOrderNo() 
    {
        return orderNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qContentId", getqContentId())
            .append("aContent", getaContent())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("modelCode", getModelCode())
            .append("modelName", getModelName())
            .append("useToken", getUseToken())
            .append("orderNo", getOrderNo())
            .toString();
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public String getQpType() {
        return qpType;
    }

    public void setQpType(String qpType) {
        this.qpType = qpType;
    }
}
